Release 10.1A: OpenEdge Development:
Programming Interfaces
Output to files or devices
You can direct the report to a standard text file. Replace the
PRINTERoption of theOUTPUTTOstatement in Figure 5–3 as follows:
In this
OUTPUTTOstatement,rpt-outis the name of the file where you direct the output.ON UNIX, the filename is case sensitive. That is,UNIXtreatsrpt-outandRPT-OUTas two different files. However, to most other operating systems, these are the same file.The
PAGEDoption indicates that you want a page break in the output every 56 lines.PAGEDis automatic for output to a printer. If you do not use thePAGEDoption, Progress sends the data to the file continuously without any page break control characters.You can also use the
VALUEoption to specify filenames stored in variables or fields. For information, see the "Sending output to multiple destinations" section.Some operating systems (like UNIX) allow you to send output to devices other than printers, terminals, and disk files using a name (like a filename) to reference them. You redirect output to these devices exactly like files.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |